package com.xjscrm.console.chat.frame.send;

import com.xjscrm.console.chat.enums.ChatMsgType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author mingyang.chen create in 2024/3/12 13:47
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class SConversationExpireMsg extends SResultMsg {

    @ApiModelProperty("机器人id. 可为单聊或群聊微信id")
    private Long deviceUniqueId;

    @ApiModelProperty("回话id. 可为单聊或群聊微信id")
    private Long talkSessionId;

    @ApiModelProperty("超时时间")
    private Long expireTime;

    @ApiModelProperty("展示超时时间")
    private Long showExpireTime;

    public SConversationExpireMsg() {
        this.setResultType(ChatMsgType.s_conversation_expire_notice.getCode());
        this.setResultTypeDesc(ChatMsgType.s_conversation_expire_notice.getDesc());
    }
}
